package it.gma.torero.parsing.token;

import it.gma.torero.operand.Operand;
import it.gma.torero.operator.OrOperator;
import it.gma.torero.parsing.Tokenizer.MalformedException;

public class Or extends BinaryBooleanOperator {

	Or(String sequence) {
		super(sequence);
		
	}
	
	
	@Override
	public Operand asOperand() throws MalformedException {
		return new OrOperator((Operand) getLeftOperand().asOperand(), (Operand) getRightOperand().asOperand());
	}

}
